package jeesample.service.publishers;

import org.apache.log4j.Logger;

public abstract class BaseServicePublisher {
	protected void info(String message) {
		logger().info(message);
	}
	
	protected void dbg(String message) {
		logger().debug(message);
	}

	protected void warn(final String message) {
		logger().warn(message);
	}

	protected void err(final String message,final  Throwable th) {
		logger().error(message, th);
	}
	
	protected abstract Logger logger();
}
